<script type="text/javascript">
	uyari('<?php echo $hata['aciklama']; ?>','<?php if($hata['sonuc'] == true){ echo 'olumlu'; }else{ echo 'olumsuz'; } ?>')
</script>
<!-- Begin of titlebar/breadcrumbs -->
<div id="title-bar">
	<ul id="breadcrumbs">
		<li><a href="index.php" title="Home"><span id="bc-home"></span></a></li>
		<li class="no-hover"><a href="index.php?module=group_manager">Group Manager</a></li>
		<li class="no-hover"><a href="index.php?module=create_group">Create Group</a></li>
	</ul>
</div> <!--! end of #title-bar -->

<div class="shadow-bottom shadow-titlebar"></div>


<!-- Begin of #main-content -->
<div id="main-content">
	<div class="container_12">

		<div class="grid_12">
			<h1>Create Group</h1>
			<p>You can create group and give authority.</p>
		</div>

		<?php
			if($showPage == false)
			{
			?>
			<div class="alert error"><strong>Error!</strong> you cant login this page!.</div>
			<?php
			}
			else
			{
			?>
			<div class="grid_7">
				<div class="block-border">
					<div class="block-header">
						<h1>Create Group</h1><span></span>
					</div>
					<form id="form" class="block-content form" action="" method="post">
						<fieldset>
							<legend>Group Details</legend>
							<div class="_100">
								<p>
								<label for="textfield1">Group Name <a rel="tooltip-right" original-title="Enter Group Name"><img src="img/icons/packs/fugue/16x16/information.png" border="0"></a></label>
								<input id="textfield1" type="text" value="" class="text" name="group_name"></p>
							</div>
							
							
							<div class="_100">
								<label for="textarea">Group Note <a rel="tooltip-right" original-title="Enter Group Note"><img src="img/icons/packs/fugue/16x16/information.png" border="0"></a></label>
								<textarea id="textarea" class="required uniform" rows="5" name="note" cols="40"></textarea>
							</div>
						</fieldset>
						
						<fieldset>
							<legend>Group Authority</legend>
							<div class="grid_12" style="padding-top: 15px;">
								
							 <fieldset>
								<legend>Show Pages</legend>
								<div class="_25"><label><input type="checkbox" name="auth[fb_pages]" id="fb_pages" /> Facebook Pages</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[last_process]" id="last_process" /> Last Process</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[statistics]" id="statistics" /> Statistics</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[group_manager]" id="group_manager" /> Group Manager</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[user_manager]" id="user_manager" /> User Manager</label></div>
							</fieldset>
							
							<fieldset>
								<legend>Facebook Pages Manager</legend>
								<div class="_25"><label><input type="checkbox" name="auth[post]" id="post" /> Send Post</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[upload_image]" id="upload_image" /> Upload Image</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[upload_video]" id="upload_video" /> Upload Video</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[show_comments]" id="show_comments" /> Show Comments</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[delete_comments]" id="delete_comments" /> Delete Comments</label></div>
							</fieldset>
							
							<fieldset>
								<legend>Group Manager</legend>
								<div class="_25"><label><input type="checkbox" name="auth[create_group]" id="create_group" /> Create Group</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[edit_group]" id="edit_group" /> Edit Group</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[delete_group]" id="delete_group" /> Delete Group</label></div>
							</fieldset>
							
							<fieldset>
								<legend>User Manager</legend>
								<div class="_25"><label><input type="checkbox" name="auth[create_user]" id="create_user" /> Create User</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[edit_user]" id="edit_user" /> Edit User</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[delete_user]" id="delete_user" /> Delete User</label></div>
								<div class="_25"><label><input type="checkbox" name="auth[show_user_detail]" id="show_user_detail" /> Show User Detail</label></div>
							</fieldset>
							
							
							
							</div>							
						</fieldset>
						
						<div class="block-actions">
							<ul class="actions-left">
								<li><a class="close-toolbox button red" href="javascript:void(0);">Reset</a></li>
							</ul>
							<ul class="actions-right">
								<li><input type="submit" value="Create İt!" class="close-toolbox button"></li>
							</ul>
						</div>
					</form>
				</div>
			</div>

			<div class="clear height-fix"></div>
			<?php } ?>	
	</div></div> 
		<!--! end of #main-content -->